
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8" />
        <title>Tienda Capp</title>
        
        <?php
        if(isset($this->carabiner)){
            $this->carabiner->display('css');
            $this->carabiner->display('js');
        }
        ?>
        <script type="text/javascript" charset="UTF-8">
            var base_url = "<?php echo base_url();?>";
        </script>
        <style type="text/css">
            .contenedord{
                padding: 20px 5px 0px 5px;
                text-align: center;
            }
            .contenedord strong{
                font-size: 20px;
                color: #666;
            }
            .linkk{
                margin-left: 25px;
            }
            #countdown{
                margin-top: 20px;
            }
            .closebb{
                position: absolute;
                right: 10px;
                top: 5px;
                cursor: pointer;
            }
            .alingtt{
                font-size: 16px;
                text-align: center;
            }
        </style>
        
        <!--[if lt IE 9]>
          <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
        <![endif]-->
        <script type="text/javascript">
            $(document).ready(function(){
                var ts = new Date(2013, 2, 5),
                    newYear = true;
                
                if((new Date()) > ts){
                    // The new year is here! Count towards something else.
                    // Notice the *1000 at the end - time must be in milliseconds
                    ts = (new Date()).getTime() + 10*24*60*60*1000;
                    newYear = false;
                }
                    
                $('#countdown').countdown({
                    timestamp   : ts,
                    callback    : function(days, hours, minutes, seconds){
                        
                        // var message = "";
                        
                        // message += days + " day" + ( days==1 ? '':'s' ) + ", ";
                        // message += hours + " hour" + ( hours==1 ? '':'s' ) + ", ";
                        // message += minutes + " minute" + ( minutes==1 ? '':'s' ) + " and ";
                        // message += seconds + " second" + ( seconds==1 ? '':'s' ) + " <br />";
                        
                        // if(newYear){
                        //  message += "left until the new year!";
                        // }
                        // else {
                        //  message += "left to 10 days from now!";
                        // }
                        
                        // note.html(message);
                    }
                });
            });
        </script>
    </head>
    
    <body>
        <div class="contenedord">
            <strong>Lanzamiento de la Tienda de Conocimiento Capp</strong>
            <div id="countdown"></div>
        </div>
    </body>
</html>